

/**
 * @description 新闻详情的模板数据
 */
const newsdetailDefaultData = {
  version: '001',
  base: {

  },
  blockKeys: ["header", "newsattr", "operate", "newsdetailhot_title", "newsdetailrecommend_title"],
  templateKeys: ["newsdetailhot", "newsdetailrecommend"],
  page: {
    classname: ".newsdetail",
    default: {
      position: "relative",
      width: "1400px",
      margin: "0 auto",
      padding: "20px 0"
    }
  },
  header: {
    newsdetail_box: {
      classname: ".newsdetail .header",
      default: {
        width: "100%",
        height: "50px",
        margin: "0",
        padding: "0",
        background: "none",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0",
        borderStyle: "solid",
        borderColor: "#1A3194"
      }
    },
    newsdetail_title: {
      classname: ".newsdetail .header .text",
      default: {
        fontSize: "24px",
        color: "#1A3194",
        fontWeight: "600"
      }
    },
  },
  newsattr: {
    base: {
      iconFlag: true,
      labelFlag: true,
      pre_icon: "LeftOutlined",
      next_icon: "RightOutlined",
    },
    newsattr_box: {
      classname: ".newsattr",
      default: {
        width: "100%",
        margin: "30px 0",
        padding: "0",
      }
    },
    newsattr_title: {
      classname: ".newsattr .title",
      default: {
        fontSize: "20px",
        color: "#000",
        fontWeight: "600",
        padding: "10px 0",
        textAlign: "center"
      }
    },
    newsattr_info: {
      classname: ".newsattr .info",
      default: {
        width: "100%",
        margin: "0",
        padding: "10px 0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        gap: "10px",
        color: "#787878",
        fontSize: "12px",
      }
    },
    newsattr_publisher: {
      classname: '.newsattr .info .publisher',
      default: {
        display: "flex",
        gap: "6px",
      }
    },
    newsattr_time: {
      classname: '.newsattr .info .time',
      default: {
        display: "flex",
        gap: "6px",
      }
    },
    newsattr_like: {
      classname: '.newsattr .info .like',
      default: {
        display: "flex",
        gap: "6px",
      }
    },
    newsattr_collect: {
      classname: '.newsattr .info .collect',
      default: {
        display: "flex",
        gap: "6px",
      }
    },
    newsattr_view: {
      classname: '.newsattr .info .view',
      default: {
        display: "flex",
        gap: "6px",
      }
    },
    newsattr_content: {
      classname: '.newsattr .content',
      default: {
        margin: "0",
        padding: "0",
      }
    },
    newsattr_nav: {
      classname: ".newsattr .nav",
      default: {
        width: "100%",
        margin: "20px 0 0 0",
        padding: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center"
      }
    },
    newsattr_pre: {
      classname: '.newsattr .nav .pre',
      default: {
        width: "230px",
        height: "40px",
        margin: "0",
        padding: "0",
        color: "#fff",
        background: "#0A1E75",
        borderRadius: "5px 0 0 5px",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        gap: "10px",
        cursor: "pointer",
        transition: "color 0.3s"
      },
      hover: {
        color: "#1890ff"
      }
    },
    newsattr_next: {
      classname: '.newsattr .nav .next',
      default: {
        width: "230px",
        height: "40px",
        margin: "0",
        padding: "0",
        color: "#000",
        background: "#D9F0FF",
        borderRadius: "0 5px 5px 0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        gap: "10px",
        cursor: "pointer",
        transition: "color 0.3s"
      },
      hover: {
        color: "#1890ff"
      }
    },
  },
  operate: {
    base: {
      thumbsup_icon: "LikeOutlined",
      thumbsuped_icon: "LikeFilled",
      storeup_icon: "StarOutlined",
      storeuped_icon: "StarFilled",
    },
    newsattr_operate: {
      classname: ".newsattr .operate",
      default: {
        width: "100%",
        margin: "0",
        padding: "10px 0",
        display: "flex",
        justifyContent: "flex-end",
        alignItems: "center",
        gap: "20px",

      }
    },
    newsattr_thumbs: {
      classname: ".newsattr .operate .thumbs-btn",
      default: {
        fontSize: "14px",
        height: "32px",
        padding: "4px 15px",
        borderRadius: "6px",
        display: "inline-flex",
        gap: "8px",
        alignItems: "center",
        justifyContent: "center",
        fontWeight: "400",
        background: "transparent",
        border: "1px solid transparent",
        color: "rgba(0, 0, 0, 0.88)",
      },
      hover: {
        background: "rgba(0, 0, 0, 0.06)",
      }
    },
    newsattr_storeup: {
      classname: ".newsattr .operate .store-btn",
      default: {
        fontSize: "14px",
        height: "32px",
        padding: "4px 15px",
        borderRadius: "6px",
        display: "inline-flex",
        gap: "8px",
        alignItems: "center",
        justifyContent: "center",
        fontWeight: "400",
        background: "transparent",
        border: "1px solid transparent",
        color: "rgba(0, 0, 0, 0.88)",
      },
      hover: {
        background: "rgba(0, 0, 0, 0.06)",
      }
    },
  },
  newsdetailhot_box: {
    classname: ".newsdetailhot",
    default: {
      width: "100%",
      padding: "0",
      margin: "30px 0 0 0",
    },
  },
  newsdetailhot_title: {
    newsdetailhot_title: {
      classname: ".newsdetailhot .title",
      default: {
        width: "100%",
        height: "50px",
        padding: "0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0 1px 0",
        borderColor: "#1A3194",
        borderStyle: "solid",
        gap: "20px"
      },
    },
    newsdetailhot_title_text: {
      classname: ".newsdetailhot .title .text",
      default: {
        fontSize: '24px',
        color: "#1A3194",
        padding: "0",
        margin: "0",
      },
    },
    newsdetailhot_title_subtext: {
      classname: ".newsdetailhot .title .subtext",
      default: {
        fontSize: '12px',
        color: "#000",
        padding: "0",
        margin: "0",
      },
    },
  },
  newsdetailhot: {
    base: {
      type: "1",
      limit: 4,
      iconFlag: true,
      labelFlag: true
    },
    newsdetailhot_list_box: {
      classname: '.newsdetailhot .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    newsdetailhot_list_item: {
      classname: '.newsdetailhot .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    newsdetailhot_list_img: {
      classname: '.newsdetailhot .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    newsdetailhot_list_img_img: {
      classname: '.newsdetailhot .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    newsdetailhot_list_info: {
      classname: '.newsdetailhot .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    newsdetailhot_list_name: {
      classname: '.newsdetailhot .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newsdetailhot_list_price: {
      classname: '.newsdetailhot .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newsdetailhot_list_publisher: {
      classname: '.newsdetailhot .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailhot_list_time: {
      classname: '.newsdetailhot .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailhot_list_like: {
      classname: '.newsdetailhot .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailhot_list_collect: {
      classname: '.newsdetailhot .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailhot_list_view: {
      classname: '.newsdetailhot .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  newsdetailrecommend_box: {
    classname: ".newsdetailrecommend",
    default: {
      width: "100%",
      padding: "0",
      margin: "30px 0 0 0",
    },
  },
  newsdetailrecommend_title: {
    newsdetailrecommend_title: {
      classname: ".newsdetailrecommend .title",
      default: {
        width: "100%",
        height: "50px",
        padding: "0",
        margin: "0",
        display: "flex",
        justifyContent: "center",
        alignItems: "center",
        borderWidth: "1px 0 1px 0",
        borderColor: "#1A3194",
        borderStyle: "solid",
        gap: "20px"
      },
    },
    newsdetailrecommend_title_text: {
      classname: ".newsdetailrecommend .title .text",
      default: {
        fontSize: '24px',
        color: "#1A3194",
        padding: "0",
        margin: "0",
      },
    },
    newsdetailrecommend_title_subtext: {
      classname: ".newsdetailrecommend .title .subtext",
      default: {
        fontSize: '12px',
        color: "#000",
        padding: "0",
        margin: "0",
      },
    },
  },
  newsdetailrecommend: {
    base: {
      type: "1",
      limit: 4,
      iconFlag: true,
      labelFlag: true
    },
    newsdetailrecommend_list_box: {
      classname: '.newsdetailrecommend .good-list-1',
      default: {
        width: "100%",
        height: "auto",
        padding: "20px 0",
        margin: "0",
        display: "flex",
        flexWrap: "wrap",
        justifyContent: "space-between",
        alignItems: "flex-start",
        gap: "20px"
      }
    },
    newsdetailrecommend_list_item: {
      classname: '.newsdetailrecommend .good-list-1 .item',
      default: {
        flex: "0 0 auto",
        width: "20%",
        height: "auto",
        padding: "10px",
        border: "1px solid #eee",
        position: "relative",
        cursor: "pointer",
        transition: "boxShadow 0.3s linear,transform 0.3s linear"
      },
      hover: {
        boxShadow: "0px 4px 5px 0px rgba(0,0,0,0.3)",
        transform: "translateY(-10px)"
      }
    },
    newsdetailrecommend_list_img: {
      classname: '.newsdetailrecommend .good-list-1 .item .img-box',
      default: {
        width: "100%",
        height: "160px",
        borderRadius: "10px",
        overflow: "hidden"
      }
    },
    newsdetailrecommend_list_img_img: {
      classname: '.newsdetailrecommend .good-list-1 .item .img',
      default: {
        width: "100%",
        height: "100%",
        objectFit: "cover"
      }
    },
    newsdetailrecommend_list_info: {
      classname: '.newsdetailrecommend .good-list-1 .item .info-box',
      default: {
        width: "100%",
        height: "auto",
        margin: "0",
        padding: "0"
      }
    },
    newsdetailrecommend_list_name: {
      classname: '.newsdetailrecommend .good-list-1 .item .name',
      default: {
        color: "#000000",
        fontSize: "18px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newsdetailrecommend_list_price: {
      classname: '.newsdetailrecommend .good-list-1 .item .price',
      default: {
        color: "#E72C59",
        fontSize: "16px",
        fontWeight: "600",
        margin: "10px 0",
      }
    },
    newsdetailrecommend_list_publisher: {
      classname: '.newsdetailrecommend .good-list-1 .item .publisher',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailrecommend_list_time: {
      classname: '.newsdetailrecommend .good-list-1 .item .time',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailrecommend_list_like: {
      classname: '.newsdetailrecommend .good-list-1 .item .like',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailrecommend_list_collect: {
      classname: '.newsdetailrecommend .good-list-1 .item .collect',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    },
    newsdetailrecommend_list_view: {
      classname: '.newsdetailrecommend .good-list-1 .item .view',
      default: {
        color: "#787878",
        fontSize: "12px",
        margin: "0 0 6px",
        display: "flex",
        gap: "6px",
      }
    }
  },
  css: "/* 新闻详情样式文件 */"
}
export default newsdetailDefaultData